package tanshiru2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
//创建无参构造
@NoArgsConstructor
//创建全参构造
@AllArgsConstructor
//生产builder类、支持链式操作
@Builder
//声明该实体类对应的表名称
@TableName("feedBack")
public class FeedBack {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String email;
    private String title;
    private String content;
    private Date createTime;
    private Date updateTime;
}
